﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TextEditorDP
{
    public class GuiFactory {
        public GuiFactory()
        {
        }
    
        public virtual CPanel MakePanel()
        {
            return new CPanel(); 
        }
        public virtual CToolStrip MakeToolStrip()
        {
            return new CToolStrip();
        }
        public virtual CRichTextBox MakeRichTextBox()
        {
            return new CRichTextBox();
        }
        public virtual CStatusBar MakeStatusBar()
        {
            return new CStatusBar();
        }
        public virtual WordPadMenu MakeWordPadMenu(WordPad wordpad, CStatusBar status)
        {
            return new WordPadMenu(wordpad, status);
        }
    };
}
